package com.molichuxing.services.business.dto.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import com.molichuxing.services.property.OrderPaymentMethodEnum;
import com.molichuxing.services.property.OrderTypeEnum;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;


/**
 * 车辆查询订单返回dto
 *
 * @author zoumingyu
 * @date 2019年8月22日
 */
@Data
public class CarOrderBizDto extends ResponseRootDto {
    private static final long serialVersionUID = 5625684058076397501L;

    /**
     * 订单号
     */
    private Long orderCode;

    /**
     * 订单类型
     */
    private OrderTypeEnum orderType;

    /**
     * 付款方式(1：全款，2：分期)
     */
    private OrderPaymentMethodEnum paymentMethod;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 商品名称
     */
    private String goodsName;

    /**
     * 提车门店id
     */
    private Integer deliveryStoreId;

    /**
     * 提车时间
     */
    private LocalDateTime deliveryTime;

    /**
     * 下单时间
     */
    private LocalDateTime orderTime;

    /**
     * 下单时间
     */
    private LocalDateTime returnTime;

    /**
     * 订单状态
     */
    @SuppressWarnings("rawtypes")
    private Enum orderStatus;

    /**
     * 下单门店id place_store_id
     */
    private Integer placeStoreId;

    /**
     * 起租日 lease_inception
     */
    private LocalDate leaseInception;

    /**
     * 截止日（起租日加租期） lease_expire
     */
    private LocalDate leaseExpire;

    /**
     * 订单预警里程 warning_mileage
     */
    private Integer warningMileage;
}
